#! user/bin/python
# -*- coding: utf-8 -*-

"""
Created on 2021/8/24 9:27

@File: pipe-unbuff-reader.py
@Author: LT
@Description: Use of this module
"""
import os

for line in os.popen('python -u pipe-unbuff-writer.py'):
# for line in os.popen('python pipe-unbuff-writer.py'):
    print(line, end='')                                     # 如果不使用-u命令则会阻塞
